//
//  CacheTools.h
//  yuemeclient
//
//  Created by wenhongquan on 16/2/21.
//  Copyright © 2016年 wenhongquan. All rights reserved.
//
#import <YYKit/YYCache.h>
#import <YYKit/YYMemoryCache.h>

static NSString *SMARTUSERINFO = @"smartUserInfo";


@interface CacheTools : NSObject

OBJC_DEF_SINGLETON(CacheTools);
@property (nonatomic, assign) NSInteger identify;

@property (nonatomic, strong) YYMemoryCache *memoryCache;

-(void)setObjectForKey:(id)obj key:(NSString*)key;

-(id)getObjForKey:(NSString*)key;

-(void)removekey:(NSString*)key;

-(void)clearCache;

@end
